﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="ofertaMiasta.aspx.cs" Inherits="inzWeb.ofertaMiasta" %>
<%@ Register Src="~/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphwrapper" runat="server">
    <asp:ScriptManager ID="smListaMiast" runat="server"></asp:ScriptManager>   

    <asp:UpdatePanel ID="updatePanelListaMiast" runat="server">
        <ContentTemplate>
            <div class="dlListaMiastClass">
                <asp:UpdateProgress ID="updateProgressListaMiast" runat="server">
                    <ProgressTemplate>
                        <asp:Label ID="Label1" runat="server" Text='Pobieranie danych...' Font-Bold="True" Font-Names="Arial, Helvetica, sans-serif" ForeColor="#1B3D74" Font-Size="Small"></asp:Label>        
                    </ProgressTemplate>
                </asp:UpdateProgress>

                <div class="pager">
                    <uc1:Pager ID="pagerGora" runat="server" />
                </div>

                <asp:DataList ID="dlListaMiasta" runat="server" RepeatColumns="2" Width="593px" Height="16px">
                    <ItemTemplate>
                        <div class="itemLista">
                            <div class="tytulLista">
                                <asp:Label runat="server" Text='<%# Eval("nazwa")%>' id="lblNazwaKraju" Font-Bold="True" Font-Names="Arial, Helvetica, sans-serif" ForeColor="#1B3D74" Font-Size="Medium"></asp:Label>
                            </div>    
                            <div class="ramkaLista" >  

                                <div class="textLista">
                                    <asp:Image ID="imZdjecieMiasto" runat="server" Width="287px" Height="148px" 
                                                            ImageUrl='<%# "./GetImage.aspx?id="+ Eval("IdzdjecieGlowne") %>' 
                                                            ImageAlign="AbsBottom"/>
                                </div>                         

                                <div class="textLista">
                                    <asp:Label ID="lblOpis" runat="server"  Text='<%# Eval("opis_skrot") %>' Font-Size="Small"></asp:Label>
                                </div>

                                <div class="buttonLista">
                                    <asp:LinkButton PostBackUrl='<%# "./szczegolyMiasta.aspx?idmiasta="+Eval("id_miasta") %>' runat="server" Font-Names="Arial, Helvetica, sans-serif" Font-Size="X-Small" id="LinkButton1" CssClass="buttonListaCss" >ZOBACZ OPIS &gt</asp:LinkButton>				
                                </div>
                                 <div class="buttonListaLeft">
                                    <asp:LinkButton runat="server" PostBackUrl='<%# "./szczegolyMiasta.aspx?idmiasta="+Eval("id_miasta")+"&panel=hotele" %>' Font-Names="Arial, Helvetica, sans-serif" Font-Size="X-Small" id="LinkButton2" CssClass="buttonListaCss" >ZOBACZ HOTELE &gt</asp:LinkButton>				
                                </div>


                            </div>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphleft" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphleftcolumns" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphleftsearch" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cphright" runat="server">
</asp:Content>
